+2003-12-30 Dom Lachowicz <cinamod@hotmail.com>\r
+\r
+ * src/wimp_style.c: Fix bug 852354 to my liking\r
+ \r
2003-12-01 Dom Lachowicz <cinamod@hotmail.com>\r
\r
* src/wimp_style.c: Fix coloration for the expander's +/- part. Was\r
/* Blank in classic Windows */
}
}
- else
+ else if (widget && GTK_IS_SCROLLBAR(widget))
{
gboolean is_vertical = GTK_IS_VSCROLLBAR(widget);
return;
}
}
+ else if (widget && GTK_IS_SCALE(widget))
+ {
+ gboolean is_vertical = GTK_IS_VSCALE(widget);
+
+ parent_class->draw_box (style, window, state_type, GTK_SHADOW_NONE, area,
+ widget, detail, x, y, width, height);
+
+ if(is_vertical)
+ parent_class->draw_box(style, window, state_type, GTK_SHADOW_ETCHED_IN, area, NULL, NULL, (2 * x + width)/2, y, 1, height);
+ else
+ parent_class->draw_box(style, window, state_type, GTK_SHADOW_ETCHED_IN, area, NULL, NULL, x, (2 * y + height)/2, width, 1);
+
+ return;
+ }
}
else if (detail && strcmp (detail, "optionmenu") == 0)
{